




/*
*************************************************************************
*西瑞克斯研发管理系统
*版 本: 1.0   
*日 期：03/02/2012    
*作 者： 王浩 QQ：873987060   
*************************************************************************   
*/ 
package com.application.yfplacefiledownlog.service;
import java.util.List;
import com.manager.BaseService;
import com.manager.commons.page.PageBean;
import com.application.yfplacefiledownlog.entity.YfPlacefiledownlog;
import com.application.yfplacefiledownlog.struts.form.YfPlacefiledownlogForm;
import com.application.yfplacefiledownlog.dao.YfPlacefiledownlogDAO;
 /**
 * 
 * Description:YfPlacefiledownlogService<br />
 * 
 * Version:V0.1<br />
 * 
 * Author: 王浩 QQ：873987060  <br />
 * 
 * History: <br />
 * 
 * 03/02/2012 
 * 
 */
public class YfPlacefiledownlogService extends BaseService
{
	private YfPlacefiledownlogDAO yfPlacefiledownlogDAO;

	public YfPlacefiledownlogDAO getYfPlacefiledownlogDAO() {
		return this.yfPlacefiledownlogDAO;
	}

	public void setYfPlacefiledownlogDAO(YfPlacefiledownlogDAO yfPlacefiledownlogDAO) {
		this.yfPlacefiledownlogDAO = yfPlacefiledownlogDAO;
	}
        

        public YfPlacefiledownlog getYfPlacefiledownlog(YfPlacefiledownlog yfPlacefiledownlog) {
		return (YfPlacefiledownlog) this.getBaseDao().queryByPk(yfPlacefiledownlog, yfPlacefiledownlog.getId());
	}
	
	public Integer getAllCountYfPlacefiledownlog(YfPlacefiledownlogForm yfPlacefiledownlogForm){
		return this.yfPlacefiledownlogDAO.getAllCountYfPlacefiledownlog(yfPlacefiledownlogForm);
	}
	
	public List<YfPlacefiledownlog> searchYfPlacefiledownlog(YfPlacefiledownlogForm yfPlacefiledownlogForm, PageBean pageBean) throws Exception {
		List<YfPlacefiledownlog> yfPlacefiledownlogList = (List) this.yfPlacefiledownlogDAO.searchYfPlacefiledownlog(yfPlacefiledownlogForm, pageBean);
		return yfPlacefiledownlogList;
	}
        
        public void deleteYfPlacefiledownlogs(YfPlacefiledownlogForm yfPlacefiledownlogForm){
	   this.yfPlacefiledownlogDAO.deleteYfPlacefiledownlogs(yfPlacefiledownlogForm);	 
	}
}
